/**
 * 20080102 1717: Eric Kao was modified.
 */

package util.date;

import java.sql.Timestamp;

import com.e885.log.E885Logger;
import com.e885.util.date.DateUtil;

/**
 * 
 * <br>
 * Copyright: Copyright (c) 2001-2008<br>
 * Company: E885 Group
 * 
 * @author Eric.Kao(gau168.gau@msa.hinet.net)
 * @version 1.0
 */
public class FetchRandomTimestamp
{
	private int loop = 300;

	public FetchRandomTimestamp()
	{
		Timestamp timestamp;

		for( int i = 0; i < loop; i++ )
		{
			timestamp = DateUtil.fetchRandomTimestamp( 2007 );

			E885Logger.testLog.debug( timestamp.toString() );
		}
	}

	/**
	 * @param args
	 */
	public static void main( String[] args )
	{
		new FetchRandomTimestamp();
	}

}
